<html>
  
  <head>
    <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
    <title>{% block title %}{% endblock %}</title>
	<link type="text/css" href="/themes/base/ui.all.css" rel="stylesheet" />
	<script src="http://www.google.com/jsapi"></script>
	<script src="/scripts/sTool.js"></script>
  </head>

  <body>
    {{ currentUser.nickname }}, <a href="/Logout">Logout</a>
    <h2>{% block header %}{% endblock %}</h2>
    <h3>{% block secHeader %}{% endblock %}</h3>
    <table>
    {% for error in errors %}
        <tr><td>{{ error.level }}:</td><td>"{{ error.message }}"</td></tr>
    {% endfor %}
    </table>
	<table style="width:100%; height:100%">
	    <tr>
            <td style="width:20%; vertical-align:top; border-right:1px solid black">
                <div class="header">Projects</div>
                <div id="projects" style="width:100%">
                    {% block projects %}
                    {% endblock %}
                </div>
            </td>
            <td style="width:80%; vertical-align:top;">
                <div class="header">Tasks</div>
                <div style="width:100%">
                    {% block tasks %}
                    {% endblock %}
                </div>
            </td>
	    </tr>



	</table>

  </body>
  
</html>